package org.eclipse.moquette.spi;

import org.eclipse.moquette.proto.messages.AbstractMessage;
import org.eclipse.moquette.server.ServerChannel;

/**
 * Created by alex on 15-5-29.
 */
public interface IMessaging {

    void stop();

    void lostConnection(ServerChannel session, String clientID);

    void handleProtocolMessage(ServerChannel session, AbstractMessage msg);
}
